package com.nercel.dsj.gksales.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.nercel.dsj.gksales.model.QueryParams;
import com.nercel.dsj.gksales.model.entity.Spike;

@Mapper
@Repository
public interface SpikeMapper extends BaseMapper<Spike> {
    int deleteByPrimaryKey(Integer id);

    int insert(Spike record);

    int insertSelective(Spike record);

    Spike selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Spike record);

    int updateByPrimaryKey(Spike record);

	List<Spike> query(QueryParams queryParams);
}
